package com.example.cloud.model.customer;

import com.example.cloud.model.common.CommonModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

/**
 * Created by wt on 2019/1/3.
 * 退费调查
 */
@Entity(name = "refund_record")
@Data
@EqualsAndHashCode(callSuper = false)
public class RefundRecord extends CommonModel {
    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    private Long id;
    // 患者编号
    @Column(name = "patient_id")
    private Long patientId;
    // 患者姓名
    @Column(name = "patient_name")
    private String patientName;
    // 病历号
    @Column(name = "medical_number")
    private String medicalNumber;
    // 医疗质量
    @Column(name = "medical_quality")
    private Integer medicalQuality;
    // 服务质量
    @Column(name = "customer_service")
    private Integer customerService;
    // 其他
    @Column(name = "other")
    private Integer other;
    // 要求
    @Column(name = "claim")
    private Integer claim;
    // 补充内容1
    @Column(name = "supplement1")
    private String supplement1;
    // 补充内容2
    @Column(name = "supplement2")
    private String supplement2;
    // 补充内容3
    @Column(name = "supplement3")
    private String supplement3;
    // 补充内容4
    @Column(name = "supplement4")
    private String supplement4;
    // 账户编号
    @Column(name = "accountId")
    private Long accountId;
    // 组织机构编号
    @Column(name = "organ_id")
    private Long organId;
    // 组织机构名称
    @Column(name = "organ_name")
    private String organName;
}
